RAIS  3.2
RAIS::UI::SpecificMasks::EditDataRoles Class Reference

This class implements UI logic for editing data roles. More...

List of all members.

Protected Member Functions

void Page_PreLoad (object sender, EventArgs e)
void Page_Load (object sender, EventArgs e)
 Event handler of the page load event. should be populated from the database with all avaliable data roles.
void Page_Init (object sender, EventArgs e)
void TreeView1_SelectedNodeChanged (object sender, EventArgs e)
 Event handler of the node selection change event.
void LBTNlogout_Click (object sender, EventArgs e)
 Event handler of the logout event.
void DDLdmrolename_SelectedIndexChanged (object sender, EventArgs e)
 Event handler of the Data role drop down box event. a role is selected the details about that role must be loaded into LBdm. will contain all the data memberships associated with the selected Data role.
void BTNdmnewrole_Click (object sender, EventArgs e)
 Event handler of the New Role Button Click event. this button is pressed a new role will be created and stored with the other data roles with TXTnewrole as its name.
void BTNdmdelete_Click (object sender, EventArgs e)
 Event handler of the Delete Role Button Click event. this button is pressed the currently selected role in DDLdmrolename should be deleted (some form of confirmation i think is needed)
void DDLdmregion_SelectedIndexChanged (object sender, EventArgs e)
 Event handler of the Region drop down box selection event. a Region is selected DDLdmdistrict and DDLdmfacility should be set to the default of all facilities and districts.
void DDLdmdistrict_SelectedIndexChanged (object sender, EventArgs e)
 Event handler of the District drop down box selection event. a District is selected DDLdmfacility should be set to the default of all facilities.
void BTNdmadd_Click (object sender, EventArgs e)
 Event handler of the Add datamembers click event. details from the DDLdmregion, DDLdmdistrict and DDLdmfacility drop down boxes are saved into the datarole selected in DDLdmrolename.
void BTNdmremove_Click (object sender, EventArgs e)
 Event handler of the Remove datamembers click event. selected data memberships within LBdm are removed from the datarole selected in DDLdmrolename.
void BTNedit_Click (object sender, EventArgs e)
 Event handler of the Edit button Click event. this button is pressed the the pages goes into the edit mode.
void BTNsave_Click (object sender, EventArgs e)
 Event handler of the Save button Click event. this button is pressed the modified data role object is saved in DB.
void BTNdiscard_Click (object sender, EventArgs e)
 Event handler of the "DiscardChanges" button Click event. this button is pressed the modified data role object is saved in DB.
void LBdm_SelectedIndexChanged (object sender, EventArgs e)
 Event handler of role attribute selection change event.

Protected Attributes

global::System.Web.UI.HtmlControls.HtmlHead Head1
 Head1 control.
global::System.Web.UI.HtmlControls.HtmlForm form1
 form1 control.
global::System.Web.UI.WebControls.Label LBLusername
 LBLusername control.
global::System.Web.UI.HtmlControls.HtmlAnchor LBTNadmin
 LBTNadmin control.
global::System.Web.UI.WebControls.Label LBLadmin
 LBLadmin control.
global::System.Web.UI.HtmlControls.HtmlAnchor LBTNregsys
 LBTNregsys control.
global::System.Web.UI.WebControls.Label LBLregsys
 LBLregsys control.
global::System.Web.UI.HtmlControls.HtmlAnchor LBTNinput
 LBTNinput control.
global::System.Web.UI.WebControls.Label LBLinput
 LBLinput control.
global::System.Web.UI.HtmlControls.HtmlAnchor LBTNquery
 LBTNquery control.
global::System.Web.UI.WebControls.Label LBLquery
 LBLquery control.
global::System.Web.UI.HtmlControls.HtmlAnchor LBTNstatistics
 LBTNstatistics control.
global::System.Web.UI.WebControls.Label LBLstats
 LBLstats control.
global::System.Web.UI.HtmlControls.HtmlAnchor LBTNtools
 LBTNtools control.
global::System.Web.UI.WebControls.Label LBLtools
 LBLtools control.
global::System.Web.UI.HtmlControls.HtmlAnchor LBTNmessagebox
 LBTNmessagebox control.
global::System.Web.UI.WebControls.Label LBLmessage
 LBLmessage control.
global::System.Web.UI.HtmlControls.HtmlAnchor LBTNdefault
 LBTNdefault control.
global::System.Web.UI.WebControls.Label LBLhelp
 LBLhelp control.
global::System.Web.UI.HtmlControls.HtmlAnchor LBTNlogout
 LBTNlogout control.
global::System.Web.UI.WebControls.Label LBLlogout
 LBLlogout control.
global::System.Web.UI.WebControls.TreeView TreeView1
 TreeView1 control.
global::System.Web.UI.WebControls.Label LBLdmrolename
 LBLdmrolename control.
global::System.Web.UI.WebControls.DropDownList DDLdmrolename
 DDLdmrolename control.
global::System.Web.UI.WebControls.Button BTNdmdelete
 BTNdmdelete control.
global::System.Web.UI.WebControls.Label LNLnewrole
 LNLnewrole control.
global::System.Web.UI.WebControls.TextBox TXTnewrole
 TXTnewrole control.
global::System.Web.UI.WebControls.Button BTNdmnewrole
 BTNdmnewrole control.
global::System.Web.UI.WebControls.Label LBLdm
 LBLdm control.
global::System.Web.UI.WebControls.Label LBLdmregion
 LBLdmregion control.
global::System.Web.UI.WebControls.DropDownList DDLdmregion
 DDLdmregion control.
global::System.Web.UI.WebControls.ListBox LBdm
 LBdm control.
global::System.Web.UI.WebControls.Button BTNdmadd
 BTNdmadd control.
global::System.Web.UI.WebControls.Button BTNdmremove
 BTNdmremove control.
global::System.Web.UI.WebControls.Label LBLdmdistrict
 LBLdmdistrict control.
global::System.Web.UI.WebControls.DropDownList DDLdmdistrict
 DDLdmdistrict control.
global::System.Web.UI.WebControls.Label LBLdmfacility
 LBLdmfacility control.
global::System.Web.UI.WebControls.DropDownList DDLdmfacility
 DDLdmfacility control.
global::System.Web.UI.WebControls.Button BTNedit
 BTNedit control.
global::System.Web.UI.WebControls.Button BTNsave
 BTNsave control.
global::System.Web.UI.WebControls.Button BTNdiscard
 BTNdiscard control.
global::System.Web.UI.WebControls.Label LBLresult
 LBLresult control.

Properties

UserData CurrentUser [get]
 Gets the CurrentUser from session data.

Detailed Description

This class implements UI logic for editing data roles.

Definition at line 14 of file EditDataRoles.aspx.designer.cs.


Member Function Documentation

void RAIS::UI::SpecificMasks::EditDataRoles::BTNdiscard_Click ( object  sender,
EventArgs  e 
) [protected]

Event handler of the "DiscardChanges" button Click event. this button is pressed the modified data role object is saved in DB.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 256 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::BTNdmadd_Click ( object  sender,
EventArgs  e 
) [protected]

Event handler of the Add datamembers click event. details from the DDLdmregion, DDLdmdistrict and DDLdmfacility drop down boxes are saved into the datarole selected in DDLdmrolename.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 203 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::BTNdmdelete_Click ( object  sender,
EventArgs  e 
) [protected]

Event handler of the Delete Role Button Click event. this button is pressed the currently selected role in DDLdmrolename should be deleted (some form of confirmation i think is needed)

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 153 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::BTNdmnewrole_Click ( object  sender,
EventArgs  e 
) [protected]

Event handler of the New Role Button Click event. this button is pressed a new role will be created and stored with the other data roles with TXTnewrole as its name.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 141 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::BTNdmremove_Click ( object  sender,
EventArgs  e 
) [protected]

Event handler of the Remove datamembers click event. selected data memberships within LBdm are removed from the datarole selected in DDLdmrolename.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 217 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::BTNedit_Click ( object  sender,
EventArgs  e 
) [protected]

Event handler of the Edit button Click event. this button is pressed the the pages goes into the edit mode.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 231 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::BTNsave_Click ( object  sender,
EventArgs  e 
) [protected]

Event handler of the Save button Click event. this button is pressed the modified data role object is saved in DB.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 243 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::DDLdmdistrict_SelectedIndexChanged ( object  sender,
EventArgs  e 
) [protected]

Event handler of the District drop down box selection event. a District is selected DDLdmfacility should be set to the default of all facilities.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 188 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::DDLdmregion_SelectedIndexChanged ( object  sender,
EventArgs  e 
) [protected]

Event handler of the Region drop down box selection event. a Region is selected DDLdmdistrict and DDLdmfacility should be set to the default of all facilities and districts.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 168 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::DDLdmrolename_SelectedIndexChanged ( object  sender,
EventArgs  e 
) [protected]

Event handler of the Data role drop down box event. a role is selected the details about that role must be loaded into LBdm. will contain all the data memberships associated with the selected Data role.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 129 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::LBdm_SelectedIndexChanged ( object  sender,
EventArgs  e 
) [protected]

Event handler of role attribute selection change event.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 270 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::LBTNlogout_Click ( object  sender,
EventArgs  e 
) [protected]

Event handler of the logout event.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 116 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::Page_Init ( object  sender,
EventArgs  e 
) [protected]

Definition at line 96 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::Page_Load ( object  sender,
EventArgs  e 
) [protected]

Event handler of the page load event. should be populated from the database with all avaliable data roles.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 69 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::Page_PreLoad ( object  sender,
EventArgs  e 
) [protected]

Definition at line 58 of file EditDataRoles.aspx.cs.

void RAIS::UI::SpecificMasks::EditDataRoles::TreeView1_SelectedNodeChanged ( object  sender,
EventArgs  e 
) [protected]

Event handler of the node selection change event.

Parameters:
senderEvent sender object.
eEvent arguments collection.

Definition at line 106 of file EditDataRoles.aspx.cs.


Member Data Documentation

global::System.Web.UI.WebControls.Button RAIS::UI::SpecificMasks::EditDataRoles::BTNdiscard [protected]

BTNdiscard control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 383 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Button RAIS::UI::SpecificMasks::EditDataRoles::BTNdmadd [protected]

BTNdmadd control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 311 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Button RAIS::UI::SpecificMasks::EditDataRoles::BTNdmdelete [protected]

BTNdmdelete control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 239 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Button RAIS::UI::SpecificMasks::EditDataRoles::BTNdmnewrole [protected]

BTNdmnewrole control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 266 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Button RAIS::UI::SpecificMasks::EditDataRoles::BTNdmremove [protected]

BTNdmremove control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 320 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Button RAIS::UI::SpecificMasks::EditDataRoles::BTNedit [protected]

BTNedit control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 365 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Button RAIS::UI::SpecificMasks::EditDataRoles::BTNsave [protected]

BTNsave control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 374 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.DropDownList RAIS::UI::SpecificMasks::EditDataRoles::DDLdmdistrict [protected]

DDLdmdistrict control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 338 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.DropDownList RAIS::UI::SpecificMasks::EditDataRoles::DDLdmfacility [protected]

DDLdmfacility control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 356 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.DropDownList RAIS::UI::SpecificMasks::EditDataRoles::DDLdmregion [protected]

DDLdmregion control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 293 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.DropDownList RAIS::UI::SpecificMasks::EditDataRoles::DDLdmrolename [protected]

DDLdmrolename control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 230 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.HtmlControls.HtmlForm RAIS::UI::SpecificMasks::EditDataRoles::form1 [protected]

form1 control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 32 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.HtmlControls.HtmlHead RAIS::UI::SpecificMasks::EditDataRoles::Head1 [protected]

Head1 control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 23 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.ListBox RAIS::UI::SpecificMasks::EditDataRoles::LBdm [protected]

LBdm control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 302 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLadmin [protected]

LBLadmin control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 59 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLdm [protected]

LBLdm control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 275 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLdmdistrict [protected]

LBLdmdistrict control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 329 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLdmfacility [protected]

LBLdmfacility control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 347 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLdmregion [protected]

LBLdmregion control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 284 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLdmrolename [protected]

LBLdmrolename control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 221 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLhelp [protected]

LBLhelp control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 185 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLinput [protected]

LBLinput control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 95 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLlogout [protected]

LBLlogout control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 203 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLmessage [protected]

LBLmessage control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 167 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLquery [protected]

LBLquery control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 113 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLregsys [protected]

LBLregsys control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 77 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLresult [protected]

LBLresult control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 392 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLstats [protected]

LBLstats control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 131 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLtools [protected]

LBLtools control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 149 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LBLusername [protected]

LBLusername control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 41 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.HtmlControls.HtmlAnchor RAIS::UI::SpecificMasks::EditDataRoles::LBTNadmin [protected]

LBTNadmin control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 50 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.HtmlControls.HtmlAnchor RAIS::UI::SpecificMasks::EditDataRoles::LBTNdefault [protected]

LBTNdefault control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 176 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.HtmlControls.HtmlAnchor RAIS::UI::SpecificMasks::EditDataRoles::LBTNinput [protected]

LBTNinput control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 86 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.HtmlControls.HtmlAnchor RAIS::UI::SpecificMasks::EditDataRoles::LBTNlogout [protected]

LBTNlogout control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 194 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.HtmlControls.HtmlAnchor RAIS::UI::SpecificMasks::EditDataRoles::LBTNmessagebox [protected]

LBTNmessagebox control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 158 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.HtmlControls.HtmlAnchor RAIS::UI::SpecificMasks::EditDataRoles::LBTNquery [protected]

LBTNquery control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 104 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.HtmlControls.HtmlAnchor RAIS::UI::SpecificMasks::EditDataRoles::LBTNregsys [protected]

LBTNregsys control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 68 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.HtmlControls.HtmlAnchor RAIS::UI::SpecificMasks::EditDataRoles::LBTNstatistics [protected]

LBTNstatistics control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 122 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.HtmlControls.HtmlAnchor RAIS::UI::SpecificMasks::EditDataRoles::LBTNtools [protected]

LBTNtools control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 140 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.Label RAIS::UI::SpecificMasks::EditDataRoles::LNLnewrole [protected]

LNLnewrole control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 248 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.TreeView RAIS::UI::SpecificMasks::EditDataRoles::TreeView1 [protected]

TreeView1 control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 212 of file EditDataRoles.aspx.designer.cs.

global::System.Web.UI.WebControls.TextBox RAIS::UI::SpecificMasks::EditDataRoles::TXTnewrole [protected]

TXTnewrole control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Definition at line 257 of file EditDataRoles.aspx.designer.cs.


Property Documentation

UserData RAIS::UI::SpecificMasks::EditDataRoles::CurrentUser [get, protected]

Gets the CurrentUser from session data.

Definition at line 666 of file EditDataRoles.aspx.cs.


The documentation for this class was generated from the following files: